﻿using Core.Configuration;

namespace Net.Web.Framework.UI.Captcha
{
    /// <summary>
    /// 验证码配置信息
    /// </summary>
    public class CaptchaSettings : ISettings
    {
        /// <summary>
        /// 验证码是否启用
        /// </summary>
        public bool Enabled { get; set; }
        /// <summary>
        /// 是否显示到登陆页面
        /// </summary>
        public bool ShowOnLoginPage { get; set; }
        /// <summary>
        /// 是否显示到注册页面
        /// </summary>
        public bool ShowOnRegistrationPage { get; set; }
        /// <summary>
        /// 验证码公共Key
        /// </summary>
        public string ReCaptchaPublicKey { get; set; }
        /// <summary>
        /// 验证码私有Key
        /// </summary>
        public string ReCaptchaPrivateKey { get; set; }
        /// <summary>
        /// 验证主体
        /// </summary>
        public string ReCaptchaTheme { get; set; }
    }
}
